xquery version "1.0";
for $c in //concept,
$s in $c/source
where $s/@id="book_p1.xml" 	and $s/xpath="/catalog/book/genre"
return 
<relational>
	<column>{$c/relational/name/text()}</column>
	<table>{$c/relational/table/text()}</table>
	<domain>{$c/relational/domain/text()}</domain>
</relational>
